<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body>

<?php	

	include("inc/joomlaInt.php");
	include("inc/inc_configuration.php");
	
if ($jUser==0)
{
	echo "Bitte zuerst einloggen!";
}
else
{	
	$cid=$_POST["combination_angebot"];
	$bid=$_POST["angebotId"];
	
	if ($cid>0)
	{		
		$q="INSERT INTO $tbl_ttb_a (combinationId, ttbId) VALUES($cid,$bid)";
		$qe=mysql_query($q);
		
		echo"Erfolg!";
		echo 'Sie werden weitergeleitet... <meta http-equiv="refresh" content="0; URL=boerse.php">   ';
	}
	else
	{
		echo "Bitte Team auswählen";
		break;
	}
}
?>

</body>
</html>